<?php


namespace app\shop\model\order;


use app\shop\model\user\UserModel;
use think\Model;

class OrderComplainModel extends Model
{
    protected $name = 'order_complaint';
    protected $autoWriteTimestamp = true;

    public function design()
    {
        return $this->hasOne(UserModel::class, 'user_id', 'design_id')->bind(['realname', 'avatar',]);
    }
}